********************************************************
*** TRANSGENDER IDENTITY AMONG NONBINARY RESPONDENTS ***
********************************************************

use "${here}GenderGapAnalysis.dta", clear

gen partyid2 = partyid if partyid < 4
replace partyid2 = 4 if partyid > 3 & partyid ~= .
tab trans partyid2 if genderid == 3, row

gen vote2 = voteintention if voteintention < 4
replace vote2 = 4 if voteintention > 3 & voteintention ~= .
tab trans vote2 if genderid == 3, row